﻿using LoadIn.Maps.Bing.Models;
using Orchard.ContentManagement.Handlers;
using Orchard.Data;
using Orchard.Environment.Extensions;

namespace LoadIn.Maps.Bing.Handlers
{
    [OrchardFeature("LoadIn.Maps.Bing")]
    public class BingMapsPartHandler : ContentHandler
    {
        public BingMapsPartHandler(IRepository<BingMapsPartRecord> repository)
        {
            Filters.Add(StorageFilter.For(repository));
        }
    }
}